#define _CRT_SECURE_NO_WARNINGS
#include"test.h"
void test()
{
	Queue p;
	QueueInit(&p);
	QueuePush(&p, 1);
	QueuePush(&p, 2);
	QueuePush(&p, 3);
	QueuePush(&p, 4);
	while(!QueueEmpty(&p))
	{
		printf("%d ", QueueFront(&p));
		QueuePop(&p);
	}
	printf("\n");
	QueueDestroy(&p);
}
int main()
{
	test();
	return 0;
}